package com.zuipin.entity;

import java.io.Serializable;

/**
 * 
 * 消息队列错误消息
 * 
 **/
@SuppressWarnings("serial")
public class RocketMqErrorInfo implements Serializable {
	
	private Long				id;							// 
	
	private Long				mqInfoId;					// 消息ID
	
	private String				errorInfo;					// 错误信息
	
	private Integer				num;						// 次数
	
	private String				state;						// 处理状态：1:新建 2:处理中 3:处理成功
	
	private String				createdTime;				// 创建时间
	
	private Long				creatorId;					// 创建人ID
	
	private String				creator;					// 创建人姓名
	
	private Long				updatorId;					// 修改人ID
	
	private String				updator;					// 修改人姓名
	
	private String				updateTime;					// 修改时间
	
	public static final String	CREATE_NEW	= "CREATE_NEW";
	public static final String	DOING		= "DOING";
	public static final String	SUCCESS		= "SUCCESS";
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getId() {
		return this.id;
	}
	
	public void setMqInfoId(Long mqInfoId) {
		this.mqInfoId = mqInfoId;
	}
	
	public Long getMqInfoId() {
		return this.mqInfoId;
	}
	
	public void setErrorInfo(String errorInfo) {
		this.errorInfo = errorInfo;
	}
	
	public String getErrorInfo() {
		return this.errorInfo;
	}
	
	public void setNum(Integer num) {
		this.num = num;
	}
	
	public Integer getNum() {
		return this.num;
	}
	
	public void setState(String state) {
		this.state = state;
	}
	
	public String getState() {
		return this.state;
	}
	
	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}
	
	public String getCreatedTime() {
		return this.createdTime;
	}
	
	public void setCreatorId(Long creatorId) {
		this.creatorId = creatorId;
	}
	
	public Long getCreatorId() {
		return this.creatorId;
	}
	
	public void setCreator(String creator) {
		this.creator = creator;
	}
	
	public String getCreator() {
		return this.creator;
	}
	
	public void setUpdatorId(Long updatorId) {
		this.updatorId = updatorId;
	}
	
	public Long getUpdatorId() {
		return this.updatorId;
	}
	
	public void setUpdator(String updator) {
		this.updator = updator;
	}
	
	public String getUpdator() {
		return this.updator;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	public String getUpdateTime() {
		return this.updateTime;
	}
	
}
